package main

import (
	"net/http"
	"net/url"
)

func main() {
	u, err := url.Parse("http://ceph-c004.qa.pab.com.cn")
	if err != nil {
		panic(err)
	}

	rp := NewSingleHostReverseProxy(u)
	// rp := httputil.NewSingleHostReverseProxy(u)
	http.ListenAndServe(":3004", rp)
}
